#ifndef _ds1302_H
#define _ds1302_H

#include "public.h"

//??Y???
sbit DS1302_RST=P3^5;//??????
sbit DS1302_CLK=P3^6;//?????
sbit DS1302_IO=P3^4;//??????

//????????
extern u8 gDS1302_TIME[7];//?????

//????????
void ds1302_init(void);
void ds1302_read_time(void);


#endif